package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelContent;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

public interface ITravelService {

    PageInfo<Travel> selectForList(TravelQueryObject qo);

    void saveOrUpdate(Travel travel);

    Travel get(Long id);

    TravelContent getContent(Long id);

    void changeState(Travel travel);
}
